
package ca.canadapost.ws.soap.ship.rate.v2;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

@WebService(name = "RatingPortType", targetNamespace = "http://www.canadapost.ca/ws/soap/ship/rate/v2")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface RatingPortType {


    @WebMethod(operationName = "DiscoverServices", action = "http://www.canadapost.ca/ws/soap/ship/rate/DiscoverServices")
    @WebResult(name = "discover-services-response", targetNamespace = "http://www.canadapost.ca/ws/soap/ship/rate/v2")
    public DiscoverServicesResponse discoverServices(
        @WebParam(name = "discover-services-request", targetNamespace = "http://www.canadapost.ca/ws/soap/ship/rate/v2")
        DiscoverServicesRequest discover_services_request);

    @WebMethod(operationName = "GetService", action = "http://www.canadapost.ca/ws/soap/ship/rate/GetService")
    @WebResult(name = "get-service-response", targetNamespace = "http://www.canadapost.ca/ws/soap/ship/rate/v2")
    public GetServiceResponse getService(
        @WebParam(name = "get-service-request", targetNamespace = "http://www.canadapost.ca/ws/soap/ship/rate/v2")
        GetServiceRequest get_service_request);

    @WebMethod(operationName = "GetRates", action = "http://www.canadapost.ca/ws/soap/ship/rate/GetRates")
    @WebResult(name = "get-rates-response", targetNamespace = "http://www.canadapost.ca/ws/soap/ship/rate/v2")
    public GetRatesResponse getRates(
        @WebParam(name = "get-rates-request", targetNamespace = "http://www.canadapost.ca/ws/soap/ship/rate/v2")
        GetRatesRequest get_rates_request);

    @WebMethod(operationName = "GetOption", action = "http://www.canadapost.ca/ws/soap/ship/rate/GetOption")
    @WebResult(name = "get-option-response", targetNamespace = "http://www.canadapost.ca/ws/soap/ship/rate/v2")
    public GetOptionResponse getOption(
        @WebParam(name = "get-option-request", targetNamespace = "http://www.canadapost.ca/ws/soap/ship/rate/v2")
        GetOptionRequest get_option_request);

}
